package com.solo.eggsolo.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * @description recommend
 * @author yu
 * @date 2022-06-16
 */
public class Recommend implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 推荐表id
    */
    private Integer id;

    /**
    * 排序，按数字排序
    */
    private Integer sequence;

    /**
    * 开始推荐时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
    * 结束推荐时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
    * 歌曲id
    */
    private Integer songListId;
    
    private SongList songList;


	public Integer getSongListId() {
		return songListId;
	}

	public void setSongListId(Integer songListId) {
		this.songListId = songListId;
	}

	public SongList getSongList() {
		return songList;
	}

	public void setSongList(SongList songList) {
		this.songList = songList;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	@Override
	public String toString() {
		return "Recommend [id=" + id + ", sequence=" + sequence + ", startTime=" + startTime + ", endTime=" + endTime
				+ ", songList=" + songList + "]";
	}


    

}
